package com.woniuxy.qiantai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.qiantai.entity.Book;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author woniumrwang
 * @since 2023-01-08 07:35:17
 */
public interface BookService extends IService<Book> {
     Page<Book> getTopNBook(Integer currentPage,Integer pageSize);
     Page<Book> getPageBooksByTypeId(Integer currentPage,Integer pageSize,Integer typeId);
}
